/*外部TODOList容器*/
article{
    background: #fff;
    width: 360px;
    margin: 150px auto 0;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2), 0 25px 50px 0 rgba(0, 0, 0, 0.1);
}
/*输入框容器*/
header > input{
    width: 100%;
    padding: 12px 12px 12px 50px;
    background: rgba(0, 0, 0, 0.01);
    box-shadow: inset 0 -2px 1px rgba(0,0,0,0.2);
    font-size: 20px;
    font-family: inherit;
    font-weight: inherit;
    line-height: 1.4em;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-font-smoothing: antialiased;
    font-smoothing: antialiased;
}
section{
    display: none;
}
/*复选框样式修改*/
section input[type=checkbox]{
    width: 22px;
    height: 22px;
    cursor: pointer;
    vertical-align: middle;
    border-radius: 5px;
    background: #fff url("../images/check.png") no-repeat -24px 0;
    -webkit-appearance: none;  /*清除复选框默认样式*/
    -moz-appearance: none;  /*清除复选框默认样式*/
    -o-appearance: none;  /*清除复选框默认样式*/
    appearance: none;  /*清除复选框默认样式*/
}
section input[type=checkbox]:checked{
    background-position: -48px 0;
}
/*全选/复选框*/
section > input[type=checkbox]{
    top: 12px;
    left: 6px;
    text-align: center;
}
/*list栏目*/
section > ul > li{
    font-size: 20px;
    border-bottom: 1px solid #ededed;
}
/*非全选/复选框*/
section > ul > li input{
    text-align: center;
    margin: 10px;
    -webkit-appearance: none;
    appearance: none;
}
section > ul > li input[type=checkbox]:checked + span{
    color: #888;
    text-decoration: line-through;
}
/*文字显示*/
section > ul > li span{
    display: block;
    vertical-align: middle;
    white-space: pre-line;
    word-break: break-all;
    padding: 10px 45px 10px 15px;
    line-height: 1.2;
    font-size: 20px;
    margin-left: 35px;
    transition: color 0.4s;
}
/*删除按钮*/
section > ul > li a.delBtn{
    display: none;
    right: 10px;
    top: 0;
    width: 40px;
    height: 40px;
    text-align: center;
    vertical-align: baseline;
    font-size: 30px;
    color: #cc9a9a;
    transition: color 0.2s ease-out;
}
section > ul > li a.delBtn:after{
    content: '×';
}
section > ul > li:hover a.delBtn{
    display: block;
}